// 视频资源类型
export interface VideoResource {
  id: string;
  name: string;
  url: string;
  keywords: string[];
}

// 系统配置类型
export interface SystemConfig {
  id: number;
  avatar_prompt: string;
  internal_knowledge_id: string;
  internal_knowledge_api_key: string;
  external_knowledge_id: string;
  external_knowledge_api_key: string;
  ai_model_api_url: string;
  ai_model_name: string;
  ai_model_api_key: string;
  voice_config: string;
  floor_guide_image: string;
  video_resources: VideoResource[];
  created_at: string;
  updated_at: string;
}

// 更新配置请求类型
export interface UpdateConfigRequest {
  avatar_prompt?: string;
  internal_knowledge_id?: string;
  internal_knowledge_api_key?: string;
  external_knowledge_id?: string;
  external_knowledge_api_key?: string;
  ai_model_api_url?: string;
  ai_model_name?: string;
  ai_model_api_key?: string;
  voice_config?: string;
  floor_guide_image?: string;
  video_resources?: VideoResource[];
}

// 上传响应类型
export interface UploadResponse {
  message: string;
  url: string;
  filename: string;
}
